FROM openjdk:17-jdk-slim

WORKDIR /app

COPY /target/todolisthelper-0.0.1-SNAPSHOT.jar /app/todolisthelper-0.0.1-SNAPSHOT.jar

EXPOSE 8080

CMD ["java", "-Xms512m", "-Xmx512m", "-Duser.timezone=GMT+8", "-Dspring.profiles.active=prod", "-jar", "todolisthelper-0.0.1-SNAPSHOT.jar"]